//
//  TicketOrderModel.h
//  ImGuider
//
//  Created by 王鹏宇 on 2018/1/25.
//  Copyright © 2018年 imguider. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TicketDetailModel.h"
#import "UploadTicketOrderModel.h"

@interface TicketOrderModel : NSObject

@property (nonatomic, strong)TicketDetailModel * ticketDetailModel;// 票的所有信息

@property (nonatomic, copy)NSString * dateStr;//选择的订票日期 YYYY-MM-DD hh:mm-hh:mm
@property (nonatomic, copy)NSString * APM;//记录下午am 上午 pm 全天 apm

@property (nonatomic, strong)NSDate * date;// 选择的订票日期

@property (nonatomic)NSInteger adultTickets;// 成人不用认证数

@property (nonatomic)NSInteger childTickets;// 儿童不用认证数

@property (nonatomic)NSInteger elderTickedts;// 长者不用认证数

@property (nonatomic)NSInteger  memberTickets;// 团体不用认证数

@property (nonatomic, strong)NSMutableArray * adultArray;// 成人认证
@property (nonatomic, strong)NSMutableArray * childArray;// 儿童认证
@property (nonatomic, strong)NSMutableArray * elderArray;// 长者认证
@property (nonatomic, strong)NSMutableArray * memberArray;//团体认证

@property (nonatomic,strong)NSMutableArray <TicketOrderRecordModel *>* orderRequestInfoArray;// 需要上传的购票信息

//需要详情时{"tickettype":"1成人/2儿童","id":"visitorid"}，不需要详情时{"tickettype":"1成人/2儿童","size":"数量"}

@property (nonatomic, copy)NSString * oderSunMoney;//根据 语言不同  返回的 总价格  不一样  ￥/ $

- (CGFloat)sumMoney;// 计算 该订单的总价  这个仅仅是票价计算
@end
